package com.example.studentportrait.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 角色信息表(Role)表实体类
 *
 * @author makejava
 * @since 2023-10-17 21:18:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("teacher_student")
public class TeacherStudent {
    //主键ID
    private Long id;
    //教师账号
    private String teacherAccount;
    //学生账号
    private String studentAccount;

    @TableField(fill= FieldFill.INSERT)
    private String createUser;
    @TableField(fill= FieldFill.INSERT)
    private Date createTime;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private String updateUser;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Date updateTime;
    //删除标志（0代表存在 1代表删除）
    private String isDelete;

}

